package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * archive 实体类
 * @author suzhuang
 * @since 2023-07-05
 */
@Getter
@Setter
  @ApiModel(value = "Archive对象", description = "")
public class Archive implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("文书类型（0内部文书，1外部文书）")
      private String documentType;

      @ApiModelProperty("阶段id")
      private Long pstageId;

      @ApiModelProperty("阶段名称")
      private String pstageName;

      @ApiModelProperty("文书id")
      private Integer documentId;

      @ApiModelProperty("文书名称")
      private String documentName;

      private String templateNo;

      private String templateFile;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
      private Date updateTime;

      private String templateDesc;

      private String isDelete;

}
